package com.hst.capacity.domain.model.entity.franchisee;


import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.UpdateTimestamp;

import javax.persistence.*;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "fm_fleet")//车队
public class FleetEntity extends BaseEntity {

  @Id
  @GeneratedValue(generator = "gen_uuid")
  @GenericGenerator(name = "gen_uuid", strategy = "uuid")
  private String idFleet;
  private String idAgent;
  private String idFranchisee;
  private String fleetName;
  private Integer status;
  private String fleetTel;
  private String fleetAdmin;
  private String idUser;
  private String qrCode;
  private Integer driverNum;

}
